package com.chang.cheng.toutiaoserver.login.service.impl;

import com.chang.cheng.toutiaoserver.login.service.ApUserGetUserService;
import com.chang.cheng.toutiaoserver.model.common.dtos.ResponseResult;
import com.chang.cheng.toutiaoserver.model.jwt.AppJwtUtil;
import com.chang.cheng.toutiaoserver.model.user.pojos.AppUser;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.Map;

/**
 * @Auther: asus
 * @Date: 2022/01/04 20:53
 * @Description:
 */
@Service
public class ApUserGetUserServiceImpl implements ApUserGetUserService {
    @Override
    public ResponseResult getUserInfo() {
        Map<String, Object> map = new HashMap<>();
        map.put("name", "小仙女2.0");
        map.put("photo", "https://s1.ax1x.com/2021/12/09/ohQi0P.jpg");
        map.put("is_media", "fasle");
        map.put("intro", "哈哈");
        map.put("certi", "小仙女2.0");
        map.put("art_count", "小仙女2.0");
        map.put("follow_count", "118340");
        map.put("fans_count", "11");
        map.put("like_count", "237");
        map.put("id", "1");
        return ResponseResult.okResult(map);
    }
}
